package cn.hxzy.teacher.mapper;

import cn.hxzy.common.domain.vo.ClassUserPrcVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

public interface ClassUserPrcMapper {

    @Select("SELECT t1.class_name,t2.nick_name FROM sys_class t1 inner join sys_user t2\n" +
            "on t1.create_id=t2.user_id\n" +
            "where t1.class_id=#{classId}")
    ClassUserPrcVo getClassUserPrcVo(Integer classId);
}
